Skip to content

Arc: Add embedded PTY terminal lanes#25

Draft
connortessaro wants to merge 2 commits intomainfrom
code/task_253e1169/self-drive-253e1169-1
Draft

Arc: Add embedded PTY terminal lanes#25
connortessaro wants to merge 2 commits intomainfrom
code/task_253e1169/self-drive-253e1169-1

Conversation

@connortessaro
Copy link
Copy Markdown
Owner

Automated draft PR created by Arc self-drive.

This branch was pushed from an isolated worker worktree after the task completed successfully.

Arc and others added 2 commits March 21, 2026 04:55
Add live terminal output views for each worker lane in the macOS cockpit:

Backend:
- Add PtyLogSubscriber infrastructure to CodeCockpitRuntime for real-time
  log chunk streaming to subscribers
- Add readWorkerPtySnapshot() for polling current terminal state
- Add code.worker.pty.snapshot, code.worker.pty.subscribe, and
  code.worker.pty.unsubscribe gateway endpoints

macOS app:
- Add CockpitTerminalLane SwiftUI view with ANSI-stripped scrolling output
- Add CockpitTerminalStore with polling-based live updates (1.5s interval)
- Add CockpitTerminalLanesSection with 2-column grid layout
- Wire terminal stores lifecycle into CockpitStore.reconcileTerminalStores()
- Add CockpitPtySnapshot and CockpitPtySubscription data models
- Add GatewayConnection methods for PTY snapshot and subscription

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant